package ast;

import visitor.*;

public class ExprConstanteEntera extends AbstractExpresion
{
	public ExprConstanteEntera(int valor){
		this.valor = valor;
	}
	public ExprConstanteEntera(Object valor){
		this.valor = Integer.parseInt((String)valor);
	}


	public Object accept(Visitor v, Object param) { 
		return v.visit(this, param);
	}

	public int valor;
}
